<form action="{:url()}" method="post" class="form_single">
    <div class="box">
      <div class="box-body">
        <div class="row">
          <div class="col-md-6">
            <div class="form-group">
              <label>钱包名称</label>
              <span class="" style="color: red">（限制30字符）</span>
              <input class="form-control" name="name" onchange="this.value=this.value.substring(0, 30)" onkeydown="this.value=this.value.substring(0, 30)" onkeyup="this.value=this.value.substring(0, 30)" placeholder="请输入钱包名称" value="{$info['name']|default=''}" type="text">
            </div>
          </div>
            <div class="col-md-12">
                <div class="form-group">
                    <label>转账最低数额</label>
                    <span class="">（转账最低数额）</span>
                    <input class="form-control" name="transfer_min" placeholder="转账最低数额" value="{$info['transfer_min']|default=''}" type="number">
                </div>
            </div>
            <div class="col-md-12">
                <div class="form-group">
                    <label>转账最高数额</label>
                    <span class="">（转账最高数额）</span>
                    <input class="form-control" name="transfer_max" placeholder="转账最高数额" value="{$info['transfer_max']|default=''}" type="number">
                </div>
            </div>
            <div class="col-md-12">
                <div class="form-group">
                    <label>对人民币汇率</label>
                    <span class="">（对人民币汇率）</span>
                    <input class="form-control" name="parities" placeholder="parities" value="{$info['parities']|default=''}" type="number">
                </div>
            </div>

            <div class="col-md-12">
                <div class="form-group">
                    <label>转账手续费百分比</label>
                    <span class="">（转账手续费百分比）</span>
                    <input class="form-control" name="poundage" placeholder="转账手续费百分比" value="{$info['poundage']|default=''}" type="number">
                </div>
            </div>
            <div class="col-md-12">
                <div class="form-group">
                    <label>兑换可用钱包比例</label>
                    <span class="">（兑换可用钱包比例）</span>
                    <input class="form-control" name="conversion_available" placeholder="兑换可用钱包比例" value="{$info['conversion_available']|default=''}" type="number">
                </div>
            </div>

          </div>

        
      <div class="box-footer">
          
        <input type="hidden" name="id" value="{$info['id']|default='0'}"/>
        
        {include file="layout/edit_btn_group"/}
        
      </div>
        
      </div>
      </div>
</form>







<div class="x-body">
    <form class="layui-form form_single" id="form" action="{:url()}" method="post">
        <div class="layui-form-item">
            <label for="username" class="layui-form-label">
                <span class="x-red">*</span>货币名称
            </label>
            <div class="layui-input-block">
                <input type="text" onchange="this.value=this.value.substring(0, 30)" onkeydown="this.value=this.value.substring(0, 30)" onkeyup="this.value=this.value.substring(0, 30)"  id="username" name="name" required="" lay-verify="required"
                       autocomplete="off"  value="{$info['name']|default=''}" class="layui-input">
            </div>
            <div style="color: red !important;" class="layui-form-mid layui-word-aux">
                （限制30字符）
            </div>
        </div>
        <div class="layui-form-item">
            <label for="logo" class="layui-form-label">
                <span class="x-red">*</span>货币logo（165*128）
            </label>
            <div id="logo" class="layui-input-block">
                {assign name="cover_id" value="$info.cover_id|default='0'" /}
                {:widget('file/index', ['name' => 'cover_id', 'value' => $cover_id, 'type' => 'img'])}
            </div>
            <!--<div class="layui-form-mid layui-word-aux">-->
            <!--(请上传单张封面图片)-->
            <!--</div>-->
        </div>
        <div class="layui-form-item">
            <label for="transfer_max" class="layui-form-label">
                转账最低数额
            </label>
            <div class="layui-input-block">
                <input type="number" id="transfer_min" name="transfer_min"
                       autocomplete="off" class="layui-input"  value="{$info['transfer_min']|default=0}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (转账最低数额)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="transfer_max" class="layui-form-label">
                转账最高数额
            </label>
            <div class="layui-input-block">
                <input type="number" id="transfer_max" name="transfer_max"
                       autocomplete="off" class="layui-input"  value="{$info['transfer_max']|default=0}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (转账最高数额)
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">
                <span class="x-red">*</span>货币类型
            </label>
            <div class="layui-input-block">

                <select name="is_virtual"  >
                    <option value="0" {notempty name="info['is_virtual']"}{if condition="$info['is_virtual'] eq 0"} selected="selected" {/if}{/notempty} >货币</option>
                    <option value="1" {notempty name="info['is_virtual']"}{if condition="$info['is_virtual'] eq 1"} selected="selected" {/if}{/notempty} >虚拟币</option>
                </select>


            </div>
            <div class="layui-form-mid layui-word-aux">
                (货币类型)
            </div>

        </div>
        <div class="layui-form-item">
            <label for="parities" class="layui-form-label">
                对人民币汇率
            </label>
            <div class="layui-input-block">
                <input type="number" id="parities" name="parities"
                       autocomplete="off" class="layui-input"  value="{$info['parities']|default=0}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (对人民币汇率)
            </div>
        </div>





        <div class="layui-form-item">
            <label for="wallet_address" class="layui-form-label">
                代币提现地址
            </label>
            <div class="layui-input-block">
                <input type="text" id="wallet_address2" name="wallet_address2"
                       autocomplete="off" class="layui-input"  value="{$info['wallet_address2']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (代币提现地址)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="wallet_password" class="layui-form-label">
                代币钱包密码
            </label>
            <div class="layui-input-block">
                <input type="text" id="wallet_password" disabled name="wallet_password"
                       autocomplete="off" class="layui-input"  value="{$info['wallet_password']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (代币钱包密码)
            </div>
        </div>





        <div class="box-footer">
            <input type="hidden" name="id" value="{$info['id']|default='0'}"/>

            {include file="layout/edit_btn_group"/}

        </div>

    </form>
</div>




